package com.ruoyi.purchase.service;

import com.ruoyi.purchase.domain.AllocationDetail;
import com.ruoyi.purchase.domain.RawProductDetail;

import java.util.List;

/**
 * AllocationDetailService接口
 * 
 * @author kevinness
 * @date 2025-01-18
 */
public interface IAllocationDetailService
{
    /**
     * 查询AllocationDetail
     *
     * @param allocationNo AllocationDetail主键
     * @return AllocationDetail
     */
    public List<AllocationDetail> selectAllocationDetailByAllocationNo(String allocationNo);

    /**
     * 查询AllocationDetail列表
     *
     * @param allocationDetail AllocationDetail
     * @return AllocationDetail集合
     */
    public List<AllocationDetail> selectAllocationDetailList(AllocationDetail allocationDetail);

    /**
     * 新增AllocationDetail
     *
     * @param allocationDetail AllocationDetail
     * @return 结果
     */
    public int insertAllocationDetail(AllocationDetail allocationDetail);

    /**
     * 新增调拨详情列表
     *
     * @param allocationDetailList
     * @return 结果
     */
    public int insertAllocationDetailList(List<AllocationDetail> allocationDetailList);

    /**
     * 修改AllocationDetail
     *
     * @param allocationDetail AllocationDetail
     * @return 结果
     */
    public int updateAllocationDetail(AllocationDetail allocationDetail);

    /**
     * 批量删除AllocationDetail
     *
     * @param allocationNos 需要删除的AllocationDetail主键集合
     * @return 结果
     */
    public int deleteAllocationDetailByAllocationNos(String[] allocationNos);

    /**
     * 删除AllocationDetail信息
     *
     * @param allocationNo AllocationDetail主键
     * @return 结果
     */
    public int deleteAllocationDetailByAllocationNo(String allocationNo);
}
